package com.six.work.services;

import com.github.pagehelper.PageInfo;
import com.six.work.entity.*;

import java.util.List;

public interface ResponsesServices {
    PageInfo<ResView> findAllResponses(Integer num);

    Integer DelResByID(Integer responses_id);

    Responses SelectResByID(Integer responses_id);//修改

//    Integer updateRes(Responses responses);//更新

    String updateResState(Integer response_id); //审核

    String updateResState1(Integer response_id);  //审核
//
//    List<ResView> findResByName(String reasonts);
//
//    List<ResView> findResByadIDAndannName(String reasonts, Integer applicant_id);

    List<ResView> SelectResByPosID(Integer post_id);//查看评论

    Integer insertRes(Responses responses);
}
